package com.company.proxy.v01;

import java.util.Random;

public class Tank implements MoveAble {
    /*
    模拟坦克的移动时间
     */
    @Override
    public void move() {
        System.out.println("tank moving calacalacala");
        try {
            Thread.sleep(new Random().nextInt(10000));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}

interface MoveAble {
    void move();
}